<%@taglib prefix="s" uri="/struts-tags"%>

<%-- <p>
	View List .....
	<s:property value="idGOR"/>
	<s:property value="bean.id"/>
	aaa
	<s:property value="bean.GovernmentOfficeRegionName"/>
</p>
 --%>
<script>
	$(document).ready(function() {
		$("#step2").hide();
		$("#navigationE").hide();
		
		$("#edit").click(function(){
			$("#step1").hide();
			$("#navigation").hide();
			$("#step2").show();
			$("#navigationE").show();
		});
		
		
		
	});
</script>


<div class="container-fluid">
	<div class="content">
		<div class="row-fluid">
			<div class="span12">
				<div class="box">
					<div class="box-head">
						<h3>View/Edit Grovernment Office Region</h3>
					</div>
					<div class="box-content box-nomargin">
						<form class='form-horizontal bbq wizard' action="updateGOR.action" method="post">
							<div class="step" id="step1">
								<h4>Step 1 View</h4>
								<div class="control-group">
									<label for="uname1" class="control-label"> GOR ID </label>
									<div class="controls">
										<input type="text" name="id1" id="id1" class='required'
											readonly="readonly" value="<s:property value="bean.id"/>" >
									</div>
								</div>
								<div class="control-group">
									<label for="email1" class="control-label"> GOR Name </label>
									<div class="controls">
										<input type="text" readonly="readonly" name="name1"
											id="name1" class='email required'
											value="<s:property value="bean.GovernmentOfficeRegionName"/>">
									</div>
								</div>
								<div class="control-group">
									<label for="email1" class="control-label">Description</label>
									<div class="controls">
										<input type="text" readonly="readonly" name="description1"
											id="email1" class='email required'
											value="<s:property value="bean.Description"/>">
									</div>
								</div>
								
								<div class="control-group">
									<label for="email1" class="control-label">Country</label>
									<div class="controls">
										<input type="text" readonly="readonly" name="country1"
											id="country1" class='email required'
											value="<s:property value="bean.Country"/>">
									</div>
								</div>
								
								<div class="control-group">
									<label for="email1" class="control-label"> Is Active </label>
									<div class="controls">
										<input type="text" readonly="readonly" name="active1"
											id="active1" class='email required'
											value="<s:property value="bean.active"/>">
									</div>
								</div>
							</div>
							
							
							<!-- ---------- Step 2--------------------- -->
							<div class="step" id="step2">
								<h4>Step 2 Edit</h4>
								
								
								<div class="control-group">
									<label for="uname1" class="control-label"> GOR ID </label>
									<div class="controls">
										<input type="text" name="idE" id="id1" readonly="readonly" class='required'
											value="<s:property value="bean.id"/>" >
									</div>
								</div>
								<div class="control-group">
									<label for="email1" class="control-label"> GOR Name </label>
									<div class="controls">
										<input type="text" name="nameE"
											id="name2" class='email required'
											value="<s:property value="bean.GovernmentOfficeRegionName"/>">
									</div>
								</div>
								<div class="control-group">
									<label for="email1" class="control-label">Description</label>
									<div class="controls">
										<input type="text" name="descriptionE"
											id="email1" class='email required'
											value="<s:property value="bean.Description"/>">
									</div>
								</div>
								
								<div class="control-group">
									<label for="email1" class="control-label">Country</label>
									<div class="controls">
										<input type="text" name="countryE"
											id="country2" class='email required'
											value="<s:property value="bean.Country"/>">
									</div>
								</div>
								
								<div class="control-group">
									<label for="email1" class="control-label"> Is Active </label>
									<div class="controls">
										<%-- <input type="checkbox" name="activeE"
											id="active2" class='email required'
											value="<s:property value="bean.active"/>"> --%>
										<label class="checkbox"> <s:checkbox name="activeE" value="bean.active" fieldValue="true" /> Is Active </label>
									</div>
								</div>
								
								
								
								
							</div>
							<div id="navigation">
								<div class="form-actions">
									<input class="navigation_button btn btn-danger" id="back"
										value="Back" type="submit" /> 
										
									<input class="navigation_button btn btn-primary" id="edit"
										value="Edit" type="button" />
								</div>
							</div>
							
							<div id="navigationE">
								<div class="form-actions">
									<a href="listGOR.action"> <input class="navigation_button btn btn-danger" id="back"
										value="Back" type="submit" /> </a> 
										
									<input class="navigation_button btn btn-primary" id="editGOR"
										value="Edit" type="submit" />
								</div>
							</div>
							
						</form>
					</div>
				</div>
			</div>
		</div>
	</div>
</div>